ALGORITHMS: They're everywhere! Instructions, game rules, recipes, and artificial intelligences are algorithms.

An algorithm is a step-by-step procedure for solving a problem. An algorithm can be simple or highly complex!

  • In this case, the problem to solve is the task of coding the framework for a basic game!
  • Read the algorithm explanation in the code editor and write the program! Make sure to think step-by-step.
  • Think about the ways you can accomplish each step using code that you know!

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)